import { TileList } from "../../../../fl/controls/TileList";
import { ScrollPolicy } from "../../../../fl/controls/ScrollPolicy";
import { PropsRender } from "../shopMall/PropsRender";
import { DataProvider } from "../../../../fl/data/DataProvider";
//class WareHouseBuyItemPanel
    
    export  class WareHouseBuyItemPanel extends TileList
    {
        constructor()
        {
            super();
            this.mouseChildren = true;
            this.initTile();
            return;
        }

        /* internal  */initTile(): void
        {
            this.setSize(200, 430);
            this.columnWidth = 197;
            this.rowHeight = 83;
            this.verticalScrollPolicy = ScrollPolicy.OFF;
            this.horizontalScrollPolicy = ScrollPolicy.OFF;
            this.setStyle("skin", flash.display.Sprite);
            this.setStyle("cellRenderer", PropsRender);
            return;
        }

        public updateProvider(arg1: DataProvider): void
        {
            this.dataProvider = arg1;
            return;
        }
    }
